Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAME51J19A/CAN0/ECR#0x0
Error Counter
Transmit Error Counter
Receive Error Counter
Receive Error Passive
CAN Error Logging
https://github.com/cmsis-svd/cmsis-svd-data